﻿<controls:ChildWindow x:Class="MySemanticSearch.FileInformationPage"
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           Width="379" Height="453" 
           Title="File Information" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk">
    <Grid Name="MainGrid" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="2" Height="414" Width="358" Background="White">
        <Border BorderBrush="Black" BorderThickness="1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="357" Height="414" />
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition />
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid Margin="0,0,0,7">
                <Rectangle Margin="3,3,4,0" Style="{StaticResource ResourceKey=BackgroundRectangle}" Fill="{StaticResource ResourceKey=RectangleLinearGradientBrush}" Height="378" />
                <sdk:Label Height="18" HorizontalAlignment="Left" Margin="12,12,0,0" VerticalAlignment="Top" Width="61" Content="Filename" IsTabStop="False" />
                <sdk:Label Content="Extension" Height="18" HorizontalAlignment="Left" Margin="12,68,0,0" VerticalAlignment="Top" Width="61" IsTabStop="False" />
                <sdk:Label Content="Creation date" Height="18" Margin="12,124,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="83" IsTabStop="False" />
                <sdk:Label Content="Last modification date" Height="18" HorizontalAlignment="Left" Margin="12,180,0,0" VerticalAlignment="Top" Width="130" IsTabStop="False" />
                <sdk:Label Content="Last access date" Height="18" HorizontalAlignment="Left" Margin="12,236,0,0" VerticalAlignment="Top" Width="100" IsTabStop="False" />
                <sdk:Label Content="FileTable ID" Height="18" HorizontalAlignment="Left" Margin="12,314,0,0" VerticalAlignment="Top" Width="100" IsTabStop="False" />
                <CheckBox Content="Read Only" IsChecked="{Binding Document.ReadOnly}" Height="16" HorizontalAlignment="Left" Margin="12,292,0,0" VerticalAlignment="Top" IsEnabled="False" IsTabStop="False" />
                <CheckBox Content="Hidden" IsChecked="{Binding Document.Hidden}" Height="16" HorizontalAlignment="Left" Margin="103,292,0,0" VerticalAlignment="Top" IsEnabled="False" IsTabStop="False" />
                <TextBox Text="{Binding Document.FileName}" Height="26" Margin="12,36,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="1" />
                <TextBox Text="{Binding Document.FileType}" Height="26" Margin="12,92,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="2"/>
                <TextBox Text="{Binding Document.Created}" Height="26" Margin="12,148,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="3"/>
                <TextBox Text="{Binding Document.Modified}" Height="26" Margin="12,204,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="4"/>
                <TextBox Text="{Binding Document.Accessed}" Height="26" Margin="12,260,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="5"/>
                <TextBox Text="{Binding Document.Guid}" Height="26" Margin="12,338,12,0" VerticalAlignment="Top" IsReadOnly="True" IsTabStop="True" TabIndex="6"/>
            </Grid>
            <Grid Margin="0,386,0,0">
                <Button Content="OK" Width="100" HorizontalAlignment="Center" Click="OkButtonClick" Margin="129,-4,129,4" IsTabStop="True" TabIndex="7" />
            </Grid>
        </Grid>
    </Grid>
</controls:ChildWindow>